#include "PzsSimplePizzaFactory.h"
#include "PzsPizza.h"
#include "PzsPizzaStore.h"

using namespace FPHdPizzas;

int main()
{
    std::shared_ptr<SimplePizzaFactory> pFactory(new SimplePizzaFactory());
    std::unique_ptr<PizzaStore> pStore(new PizzaStore(pFactory));

    std::shared_ptr<Pizza> pPizza = pStore->orderPizza("cheese");
    std::cout << "We ordered a " + pPizza->getName() + "\n";

    pPizza = pStore->orderPizza("veggie");
    std::cout << "We ordered a " + pPizza->getName() + "\n";
    return 0;
}
